namespace CinemaMaestro.DataLayer.Entity
{
    using System;
    using System.Data.Entity;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Linq;
    using CinemaMaestro.DataLayer.Contracts.Entities;

    public partial class CinemaContext : DbContext
    {
        public CinemaContext()
            : base("name=CinemaContext")
        {
        }


        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
        }

        DbSet<Language> Languages { get; set; }
        DbSet<Movie> Movies { get; set; }
        DbSet<Category> Categories { get; set; }
        DbSet<Actor> Actors { get; set; }
        DbSet<Director> Directors { get; set; }
        DbSet<Sale> Sales { get; set; }
        DbSet<Room> Rooms { get; set; }
        DbSet<Screening> Screenings { get; set; }
        DbSet<Reservation> Reservations { get; set; }
        DbSet<Cinema> Cinemas { get; set; }
    }
}
